//
//  CalendarViewController.h
//  Calendar
//
//  Created by 张凡 on 14-8-21.
//  Copyright (c) 2014年 张凡. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CalendarLogic.h"
@class ResponseDayModel;

typedef void (^CalendarBlock)(CalendarDayModel *model);

@interface CalendarViewController : UIViewController

@property (nonatomic ,strong) UICollectionView* collectionView;


@property (nonatomic ,assign) BOOL selectedEnable;

/**
 *  如图是详情只有已购买的可以退款
 */
@property (nonatomic ,assign) BOOL isDetail;

// 每个月份的中的daymodel容器数组
@property (nonatomic ,strong) NSMutableArray *calendarMonth;

//回调
@property (nonatomic,   copy) CalendarBlock calendarblock;

-(void)responseDayModels:(NSMutableArray *)responseDayModels;

-(void)ajustFrame:(CGRect)frame;

-(void)setSelectedDate:(NSArray *)selectedDateStrings;


@end
